﻿// // ******************************************************************
// //       /\ /|       @file       TranslationModel.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2025-02-01 09:02
// //    *(__\_\        @Copyright  Copyright (c) , 2025-02-01 09:02 Await
// // ******************************************************************

using System.Text.Json.Serialization;

namespace AutomaticSubtitles.Contracts.Entity;

public class TranslationModel
{
    /// <summary>
    /// 语言类型
    /// </summary>
    [JsonPropertyName("languageType")]
    public string LanguageType { get; set; } = "auto";

    /// <summary>
    /// 原文值
    /// </summary>
    [JsonPropertyName("value")]
    public string Value { get; set; }

    /// <summary>
    /// 翻译值
    /// </summary>
    [JsonPropertyName("translatedValue")]
    public string TranslatedValue { get; set; }

    /// <summary>
    /// 翻译类型
    /// </summary>
    [JsonPropertyName("translatedLanguageType")]
    public string TranslatedLanguageType { get; set; } = "zh";
}